<h1>Listing feeds</h1>

<div class="left">
<ul id="feeds">
<% for feed in @feeds %>    
    <li>    
    <span><%= feed.title %></span>     
    <%= link_to_remote '[edit]', :update => "details", :url => {:action => "edit", :id => feed.id}, :loading => "enableProgress()", :loaded => "disableProgress" %> 
    <%= link_to '[destroy]', {:action => "delete", :id => feed}, :confirm => 'Are you sure?' %>
    <%= link_to_remote '[posts]', :update => "details", :url => {:action => "receive", :id => feed}, :loading => "enableProgress()", :loaded => "disableProgress" %>    
    </li>
<% end %>
</ul>
<br />
<%= link_to 'New feed', :action => "new" %>
</div>
<div class="right">

  <div id="details">
    <div class="progress"></div>
    Click link "edit" or "posts" to update this panel
  </div>
</div>
<br clear="all" />


